package cn.dnui_lxx432.dnuifood_16110100432.iface;

import cn.dnui_lxx432.dnuifood_16110100432.listener.OnRetrofitListener;
public interface UserIface {
   void login(String username, String userpass,OnRetrofitListener listener);
   void reg(String username,String userpass,String mobilenum,String address,String comment,OnRetrofitListener listener);

   void getUserById(String user_id,final OnRetrofitListener listener);
   void updateUserById(String user_id,String username,String userpass,String mobilenum,String address,final OnRetrofitListener listener);
   void getAllOrdersByUser(String user_id,final OnRetrofitListener listener);
}
